import request from "../utils/request";

//条件查询
export const queryWarehousingEntryDetalis = (page,pageSize,supplierName) => {return request.get(`/warehousingentry/details?page=${page}&pageSize=${pageSize}&supplierName=${supplierName}`)};

//确定到达时间
export const confirmWarehousingEntryDetalis = (data) => {return request.put(`/warehousingentry/details`,data)};

//卸货条件查询
export const queryWarehousingUnload = (page,pageSize,supplierName) => {return request.get(`/warehousingentry/details/unload?page=${page}&pageSize=${pageSize}&supplierName=${supplierName}`)};

//确定卸货时间
export const confirmWarehousingUnload = (data) => {return request.put(`/warehousingentry/details/unload`,data)};

//明细表查询
export const queryDetailsAll = (page,pageSize,supplierName) => {return request.get(`/warehousingentry/details/details?page=${page}&pageSize=${pageSize}&supplierName=${supplierName}`)};